.material-user-center {
  min-height: 150vh;
  .sticky-wrapper{
    background: #fff;
    top: 0;
    position: sticky;
    z-index: 97;
    padding: 0 20rpx ;
    // #ifndef H5
    // padding-top: 176rpx;
    // margin-top: -176rpx;
    top: 88rpx;
    // #endif
  }
  .resource-list{
    height: 400rpx;
    position: relative;
    .resource-item{
      @include flex(column, inline-flex);
      @include center;
      margin-right: 10rpx;
      .videoPos{
        position: relative;
        .videoPlay{
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translateX(-50%) translateY(-50%);
        }
      }
    }
  }
  // .pubilsh-button{
  //   position: fixed;
  //   bottom: 300rpx;
  //   left: 50%;
  //   transform: translateX(-50%);
  // }
  .publish-button{
    @include transition;
    position: fixed;
    z-index: 5;
    bottom: 100rpx;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    &.active{
      opacity: 1;
    }
  }
  .top-user{
    min-height: 300rpx;
    position: relative;
    z-index: 98;
    padding-bottom: 24rpx;
    color: white;
    .user-box{
      position: relative;
      padding: 0 20rpx;
      margin-top: 70rpx;
      display: flex;
      align-items: center;
      .user-img{
        position: relative;
        .portrait{
          border-radius: 50%;
        }
        .user-sex{
          position: absolute;
          right: 5rpx;
          bottom: 3rpx;
          image{
            width: 34rpx;
            height: 34rpx;
          }
        }
      }
      .user-name{
        margin-left: 30rpx;
        .name-title{
          font-size: 38rpx;
          font-weight: bold;
          line-height: 50rpx;
        }
        .time-title{
          font-size: 22rpx;
          line-height: 50rpx;
          color: #999;
        }
      }
      .edit{
        width: 140rpx;
        height: 50rpx;
        line-height: 50rpx;
        text-align: center;
        position: absolute;
        top: 30rpx;
        right: 20rpx;
        .attention-ned{
          border-radius: 2px;
          border: 1px solid #434445;
          color: #434445;
        }
        .attention-les{
          border-radius: 2px;
          border: 1px solid #fff;
          color: #fff;
        }
      }
    }
    .user-alive-center{
      margin-top: 80rpx;
      display: flex;
      .flex-box{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .nums{
          font-size: 36rpx;
          font-weight: bold;
        }
        .name{
          font-size: 22rpx;
          color: #999;
        }
      }
    }
    .material-user-center-nav-bar{
      display: flex;
      position: relative;
      align-items: center;
      height: 88rpx;
      .left-part {
        @include flex;
        @include a-center;
        top: 50%;
        transform: translateY(-50%);
        bottom: 0;
        left: 0;
        position: absolute;
        box-sizing: border-box;
        .nav-icon{
          margin-left: 20rpx;
          width: 32rpx;
          height: 32rpx;
        }
      }
      .title-part{
        font-size: 36rpx;
        flex: 1;
        text-align: center;
      }
    }
  }
  .tab-box{
    background-color: #fff;
    .tab-flex{
      display: flex;
      height: 100rpx;
      align-items: center;
      border-bottom: 1px solid $color-border;
      padding: 0 20rpx;
      .tab-item{
        height: 100rpx;
        font-size: 26rpx;
        color: #000;
        line-height: 100rpx;
        width: 100rpx;
        text-align: center;
        position: relative;
        &.active{
          font-weight: bold;
          &::before{
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 46rpx;
            height: 4rpx;
            background-color: #000;
            content: '';
          }
        }
      }
    }
  }
  .white-bg{
    background-color: #fff;
  }
  
  
}